home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 001463_daemon _Mon Jun 28 01:30:10 1993.msg < prev    next >
Internet Message Format  |  1994-01-24  |  4KB

  1. Received: by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  2.     id AA10181; Mon, 28 Jun 93 01:30:12 MET DST
  3. Return-Path: <terry@ora.com>
  4. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  5.     id AA10177; Mon, 28 Jun 93 01:30:10 MET DST
  6. Received: from ruby.ora.com by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
  7.     id AA14948; Mon, 28 Jun 1993 01:53:27 +0200
  8. Received: from rock.west.ora.com by ora.com (5.65c/Spike-2.1)
  9.     id AA18954; Sun, 27 Jun 1993 19:53:25 -0400
  10. Received: by rock.west.ora.com (5.65c/Spike-2.1)
  11.     id AA03818; Sun, 27 Jun 1993 16:53:24 -0700
  12. Message-Id: <199306272353.AA03818@ora.com>
  13. From: Terry Allen <terry@ora.com>
  14. Date: Sun, 27 Jun 1993 16:53:23 PDT
  15. X-Mailer: Mail User's Shell (7.2.0 10/31/90)
  16. To: www-talk@nxoc01.cern.ch
  17. Subject: One PRE, and entities
  18.  
  19. Dear Dave:
  20. Sorry not to respond sooner to your post of Monday last, pointing
  21. out HTML+'s style attribute for PRE.  This is okay, but maybe
  22. not the most economical approach. 
  23.  
  24. I think there are two issues:  1) the spec's definition of 
  25. leading white space and line breaks as significant within PRE, 
  26. and 2) font changes within PRE.  Presently, 1 seems to work just 
  27. fine (at least in xmosaic and lynx, the two browsers I'm using 
  28. for trials), so it should not be necessary to institute a <BR> 
  29. tag to get line breaks within PRE.  Outside PRE one shouldn't 
  30. need them (counterexamples welcome).
  31.  
  32. Presently, however, PRE is defined as having typewriter type
  33. as its default font, and I think that's wrong.   I'd rather have
  34. to invoke that font (by <CODE>) explicitly, the default font
  35. remaining the same as the main text.  That way I don't need
  36. an <R> tag, which has also been suggested, and when I
  37. have an address to display, I can type:
  38. <PRE>
  39.        Name
  40.        Address
  41.        Telephone.  
  42. </PRE>
  43. and get three indented lines in the main text font.
  44. I think that if the definition of PRE is changed in this way
  45. the style attribute might not be needed.
  46.  
  47. On another topic you mentioned, charsets, wide fonts, and
  48. outline fonts, what I gleaned from the recent discussion of
  49. Unicode on comp.text.sgml is that it shouldn't wreck the 
  50. SGML mechanism.  For what is not supported by Unicode, should
  51. we choose to go that rather quirky route, the SGML external
  52. entity mechanism is the obvious method, as you point out.  
  53. We already have character entities in the HTML DTD; all that's 
  54. needed is to establish how to reference external entity sets not 
  55. actually included in the HTML+ DTD.  SGML rather envisions that
  56. the entity files are available locally at run time; for WWW it
  57. might be better to be able to indicate the entity files are on
  58. the same machine the document is being fetched from.
  59.  
  60. And if we can reference external entities, we can do something
  61. requested this week in my office:  use entities to represent
  62. URLs.  Than means 1) URLs themselves may be extracted from the 
  63. main document and collated in a referenced navigational document,
  64. and 2) common link types may be generated automatically:  for
  65. any "Next" link, my &next; entity can refer to a script that 
  66. looks through a list of filenames, chooses the one after the 
  67. current file, and returns that as the URL for the target of 
  68. the link.  
  69.  
  70. I'l like to suggest that references to external entities go
  71. in the HEAD of the document.
  72.  
  73. Regards,
  74. .
  75.  
  76.  
  77. -- 
  78. Terry Allen  (terry@ora.com)
  79. Editor, Digital Media Group
  80. O'Reilly & Associates, Inc.
  81. Sebastopol, Calif., 95472